body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f0f4f8;
}
footer {
      background-color: #2980b9;
      text-align: center;
      padding: 1rem;
      color: #1e1e1e;
      font-size: 0.9rem;
      border-top: 2px solid #2980b9;
    }
header {
    background: #3498db;
    color: white;
    padding: 10px 20px;
    display: center;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid #2980b9;
}
ul,li{
  list-style-type: circle;
}
#menu-toggle {
    font-size: 24px;
    background: none;
    border: none;
    color: white;
    cursor: pointer;
}

aside {
    width: 200px;
    background: #ecf0f1;
    padding: 20px;
    position: fixed;
    top: 60px;
    left: -220px;
    height: calc(100% - 60px);
    transition: left 0.3s;
    overflow-y: auto;
    border-right: 2px solid #bdc3c7;
}

aside.open {
    left: 0;
}

aside h2 {
    font-size: 18px;
    margin-top: 0;
    color: #2c3e50;
}

aside ul {
    list-style: none;
    padding: 0;
}

aside ul li a {
    text-decoration: none;
    color: #3498db;
    display: block;
    margin: 10px 0;
    font-weight: bold;
}

main {
    margin-left: 20px;
    margin-top: 80px;
    padding: 20px;
}

.okienko-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.card {
    background: white;
    border: 3px solid #2980b9;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-5px);
}

.card p {
    font-size: 20px;
    margin-bottom: 20px;
    color: #2c3e50;
}

.link-button {
    padding: 10px 20px;
    background-color: #3498db;
    border: none;
    border-radius: 30px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.link-button:hover {
    background-color: #2980b9;
    transform: scale(1.05);
}
img{
    width: 500px;
    height: 333.5px;
}
#loader {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    visibility: visible;
    opacity: 1;
    transition: opacity 2s ease-out, visibility 2s ease-out;
  }
  h3{
    visibility: hidden;
  }

  #loader img {
    width: 650px;
    height: 650px;
    animation: rotate 2s infinite linear;
  }
  #content {
    visibility: hidden;
    opacity: 0;
    transition: opacity 2s ease-in, visibility 2s ease-in;
  }
  body.loaded #loader {
    visibility: hidden;
    opacity: 0;
  }

  body.loaded #content {
    visibility: visible;
    opacity: 1;
  }
  p{
    font-size: 26px;
    font-weight: 600;
  }
  #linkdogownej{
    padding: right;
  }
    button {
    padding: 10px 20px;
    background-color: #153449;
    border: none;
    border-radius: 30px;
    color: white;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}
/* Do wyszukiwasrki kategori start*/
  .hidden { display: none; }
  .category { padding: 6px; margin: 4px 0; border-radius: 4px; }
  #searchInput { height: 35px; width: 200px; border-radius: 30px; margin-top: 5px;}
/* Do wyszukiwasrki kategori koniec*/

/* Do wyszukiwarki szablonu start*/
#searchInput2 { height: 35px; width: 200px; border-radius: 30px; margin-top: 5px;}
/* Do wyszukiwarki szablonu start*/